<table>
  <% for address in address_list %>
    <tr class="action_link">
      <td class="address"><%= address.title %></td>
      <td><%= link_to "修改", [:edit,@user,address],:title=>'修改',:class=>'action_edit' %></td>
      <td><%= link_to "删除", [@user,address], :confirm => '确定删除地址?', :method => :delete,:title=>'删除',:class=>'action_delete' %></td>
    </tr>
  <% end %>
</table>

<div class="action_link">
  <%= link_to '新增地址', new_user_address_path(@user),:class=>"action_add" %> | <%= link_to '返回', '/orders/new',:class=>"action_back" %>
</div>
